Run `which-key--hide-popup` in post-command-hook also
authorIqbal Ansari <iqbalansari02@yahoo.com>
Fri, 2 Oct 2015 11:32:25 +0000 (17:02 +0530)
committerIqbal Ansari <iqbalansari02@yahoo.com>
Fri, 2 Oct 2015 11:32:25 +0000 (17:02 +0530)
which-key.el

index 524517cae28c713c24bb71583e9c9702ac858798..b0d50991ecfaf6d3fd92787d8f87b67642722a17 100644 (file)
@@ -384,6 +384,7 @@ alongside the actual current key sequence when
         (when which-key-show-remaining-keys
           (add-hook 'pre-command-hook #'which-key--lighter-restore))
         (add-hook 'pre-command-hook #'which-key--hide-popup)
+        (add-hook 'post-command-hook #'which-key--hide-popup)
         (add-hook 'focus-out-hook #'which-key--stop-timer)
         (add-hook 'focus-in-hook #'which-key--start-timer)
         (which-key--start-timer))